package com.ctshk.rpc.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 * 分配管理实体对象参数
 * </p>
 *
 * @author 姜斌文
 * @since 2021-03-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_supplier_order_message_rule")
@ApiModel(value="分配管理对象", description="分配管理对象")
public class SysSupplierOrderMsg extends BaseEntity {
	private static final long serialVersionUID = -7143597536148413882L;

	@ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "规则名称")
    private String	ruleName;

    @ApiModelProperty(value = "类型-1：酒店预订;2：机票预订;3：火车票预订;4：巴士预订;5：船票预订;6：景点门票预订;7：保险预订;8：机场快线预订;9：签证预订;10：当地玩乐预订;11：商品预订;12：供应商预订")
    private Long type;

    @ApiModelProperty(value = "规则类型（分配规则）-1：轮询;2：全部")
    private int	ruleType;

    @ApiModelProperty(value = "消息类型（推送方式）-1：短信;2：邮件;3：站内消息")
    private String messageType;

    @ApiModelProperty(value = "系统编码")
    private String	systemCode;

    @ApiModelProperty(value = "负责人ID")
    private Long	chargePersonId;

    @ApiModelProperty(value = "负责人姓名")
    private String	chargePersonName;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;

    @ApiModelProperty(value = "状态")
    private Integer	status;

    @ApiModelProperty(value = "分组成员ids")
    private String groupPersonIds;

    @ApiModelProperty(value = "分组成员Names")
    private String groupPersonNames;

    @ApiModelProperty(value = "user规则ids")
    private String groupRuleUserIds;
}